﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using System.Runtime.Serialization;

namespace Stockholm.SOA.Kaskelot.WCF.DataContracts
{
	[DataContract(Namespace = "http://stockholm.se/SOA/Kaskelot/KaskelotService/1/", Name = "Valdistrikt")]
	public class Valdistrikt
	{
		[DataMember]
		public Guid Id { get; set; }
		[DataMember]
		public Guid ValId { get; set; }
		[DataMember]
		public DateTime Skapad { get; set; }
		[DataMember]
		public string SkapadAv { get; set; }
		[DataMember]
		public DateTime? Andrad { get; set; }
		[DataMember]
		public string AndradAv { get; set; }
		[DataMember]
		public string Namn { get; set; }
		[DataMember]
		public bool BemanningKlar { get; set; }
		[DataMember]
		public Guid ForsamlingId { get; set; }
		[DataMember]
		public Forsamling Forsamling { get; set; }
		[DataMember]
		public string ForsamlingNamn { get; set; }
		[DataMember]
		public string ValkretsNamn { get; set; }
		[DataMember]
		public string ValdistriktNr { get; set; }

		public string FullName { get { return ForsamlingNamn + " " + ValdistriktNr; } }
	}
}
